From 98e40fef927c3433ea403ae67758e45a9e907f9d Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Sun, 7 Jul 2024 19:36:37 +0100 Subject: [PATCH] Allow building with Debian's pydata-sphinx-theme This is currently too old to have all the options upstream expects Gbp-Pq: Name sphinx_old_pydata_theme.patch --- doc/_templates/sidebar-nav-bs.html | 4 ++-- doc/source/conf.py | 9 +-------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/doc/_templates/sidebar-nav-bs.html b/doc/_templates/sidebar-nav-bs.html index 8298b665..cccff847 100644 --- a/doc/_templates/sidebar-nav-bs.html +++ b/doc/_templates/sidebar-nav-bs.html @@ -1,9 +1,9 @@ diff --git a/doc/source/conf.py b/doc/source/conf.py index ce515f3c..b817cc7b 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -245,14 +245,7 @@ html_theme_options = { "footer_start": ["pandas_footer", "sphinx-version"], "github_url": "https://github.com/pandas-dev/pandas", "twitter_url": "https://twitter.com/pandas_dev", - "logo": {"image_dark": "https://pandas.pydata.org/static/img/pandas_white.svg"}, - "navbar_align": "left", - "navbar_end": ["version-switcher", "theme-switcher", "navbar-icon-links"], - "switcher": { - "json_url": "https://pandas.pydata.org/versions.json", - "version_match": switcher_version, - }, - "show_version_warning_banner": True, + "navbar_end": ["navbar-icon-links"], "icon_links": [ { "name": "Mastodon", -- 2.30.2